﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;
using System.IO;
using SCGILite;
using SCGILite.Helper;
using SCGILite.NetLib;

namespace SCGITest.PageTemplate
{
    class ErrPage : TemplatePage, ITemplatePage
    {
        public bool AsyncEnd
        {
            get { return true; }
        }
        Exception ee;
        public ErrPage(Exception e)
        {
            ee = e;
        }
        protected override void ctorControl()
        {
            Label lable = new Label();
            this.Controls.Add(lable);
            lable.Text = "处理出错: __" + ee.ToString();
        }
    }
}